finding x and y components of a force